import request from '@/utils/request'

// 查询examUser列表
export function listExamUser(query) {
  return request({
    url: '/applet/examUser/list',
    method: 'get',
    params: query
  })
}

// 查询examUser详细
export function getExamUser(joinId) {
  return request({
    url: '/applet/examUser/' + joinId,
    method: 'get'
  })
}

// 新增examUser
export function addExamUser(data) {
  return request({
    url: '/applet/examUser',
    method: 'post',
    data: data
  })
}

// 修改examUser
export function updateExamUser(data) {
  return request({
    url: '/applet/examUser',
    method: 'put',
    data: data
  })
}

// 删除examUser
export function delExamUser(joinId) {
  return request({
    url: '/applet/examUser/' + joinId,
    method: 'delete'
  })
}
